<%@ page import="userDao.User" %><%--
  Created by IntelliJ IDEA.
  User: Ly
  Date: 2021/3/28
  Time: 16:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>实现登录功能</title>
  <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
</head>
<body>
<%
  request.setAttribute("kkk","lhc");
  request.setAttribute("kkk","666");
  request.removeAttribute("kkk");
%>
<div>
  <h1 style="color: blue;margin: auto;text-align: center" >管理登录界面</h1>
</div>

<div style="margin: auto; width: 500px " >
  <form action="login" method="post">
    账户：<input type="text" name="userName" class="form-control"><br>
    密码：<input type="password" name="password" class="form-control"><br>
    <span style="color: red"><%= request.getAttribute("error")==null?"":request.getAttribute("error") %> </span><br>
    <input type="submit" value="登录" class="btn btn-primary"><br>
  </form>
</div>
</body>
</html>
